<template>
  <div class="modifyPasswd">
    <my-header1 :header1-obj="header1Obj" />

    <section>
      <h3>修改密码</h3>
      <div class="modifyPasswd-con">
        <input v-model="phone" type="phone" placeholder="请输入手机号">
        <input v-model="mima" type="phone" placeholder="请输入新密码（请输入字母、数字最少6位）">
        <input v-model="mima2" type="phone" placeholder="请再次输入密码">
        <div class="yanzhengma">
          <input v-model="yzm" type="phone" placeholder="请输入验证码">
          <span>获取验证码</span>
        </div>
      </div>
      <div class="bottonBox">
        <router-link tag="button" to="/login">确认修改</router-link>
        <router-link tag="button" to="/login">返回</router-link>
      </div>

    </section>
    <hr>
    <my-footer :footer-obj="footerObj" />
  </div>
</template>

<script>
import myHeader1 from '../../../components/template-item1/header/header1'
import myFooter from '../../../components/template-item1/footer/footer'
export default {
  components: { myFooter, myHeader1 },
  data() {
    return {
      phone: '',
      yzm: '',
      mima: '',
      mima2: '',
      header1Obj: {
        logoImg: require('../../../assets/img/common/logo0.png'),
        style: {
          backgroundColor: '#323333',
          color: '#fff'
        }
      },
      footerObj: {
        logoImg: require('../../../assets/img/common/logo2.png'),
        css: {
          // bgUrl: require('../assets/img/footer/footer-bg.png')
        },
        mostColor: '#999',
        titColor: '#666'
      }
    }
  },
  created() {},
  mounted() {
    var orderHight = document.body.clientHeight
    console.log(orderHight)
  },
  methods: {

  }

}
</script>

<style lang="scss" scoped>
.modifyPasswd{
  width: 100%;
  max-width: 1920px;
  min-width: 1200px;
  height: 100%;
  margin: 0 auto;
  overflow: auto;
  overflow-y:hidden;
  background-color: #F6F6F6;
  >section{
    width: 670px;
    height: 472px;
    margin: 0 auto;
    background-color: #fff;
    -padding: 64px 165px;
    margin-bottom: 140px;
    >h3{
      width: 100%;
      height: 72px;
      line-height: 72px;
      color: #333;
      font-size: 24px;
      text-align: center;
      border-bottom: 1px solid #ECECEC;
    }
    >.modifyPasswd-con{
      padding: 0 100px;
      margin-bottom: 45px;
      input{
        width: 100%;
        border: none;
        outline: none;
        background-color: transparent;
        height: 35px;
        line-height: 30px;
        padding-top: 27px;
        border-bottom: 1px solid #ccc;
        -color: #CDCDCE;
        font-size: 16px;
      }
      input::-webkit-input-placeholder {
        /* placeholder颜色  */
        color: #999;
        font-size: 16px;
      }
      >.yanzhengma{
        position: relative;
        >span:last-child{
          height: 17px;
          line-height: 17px;
          font-size: 12px;
          position: absolute;
          top: 38px;
          right: 6px;
          border-right: none;
          cursor: pointer;
          color: #417AEF;
        }
      }
    }
    >.bottonBox{
      width: 410px;
      margin: 0 auto;
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      align-items: center;
      >button{
        border: none;
        outline: none;
        display: block;
        width: 170px;
        height: 42px;
        border-radius: 4px;
        font-size: 18px;
        cursor: pointer;
        // margin-bottom: 32px;
      }
      >button:first-child{
        background-color: #417AEF;
        color: #fff;
      }
      >button:last-child{
        background-color: #fff;
        color: #666;
        border: 1px solid #DBDBDB;
      }
    }
  }
}

</style>

